package com.atguigu.sugar.service;

import com.atguigu.sugar.bean.KW;
import com.atguigu.sugar.bean.TrafficUvCt;
import com.atguigu.sugar.mapper.TrafficMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther yuzehua
 * @date 2022/10/27 - 16:36
 */
@Service
public class TrafficServiceImpl implements TrafficService {
    @Autowired
    TrafficMapper trafficMapper;

    @Override
    public List<KW> kw(int date) {
        return trafficMapper.kw(date);
    }

    @Override
    public List<TrafficUvCt> selectUvCt(Integer date) {
        return trafficMapper.selectUvCt(date);
    }
}
